package my.yuan.fkzmapper.mapper.slave;

import com.baomidou.dynamic.datasource.annotation.DS;
import my.yuan.fkzmapper.ddo.DemoSlaveDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author qy
 * @description zz
 * @date 2021-10-10
 */
@Mapper
@DS("slave")
public interface DemoSlaveMapper {
    @Select("select * from demo_slave")
    public List<DemoSlaveDO> list();
}
